﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RoleFunction.ascx.cs" Inherits="Admin_Components_Member_PermissionRoleFuntion" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<telerik:RadScriptManager ID="ScriptManager2" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<div class="progressbar">
    <asp:UpdateProgress ID="up" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
        <div class="bg">
            <div class="progress progress-striped active">
              <div class="progress-bar"  role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
                <span class="sr-only">100% Complete</span>
              </div>
            </div>
        </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <%----------------------------------------------------PHÂN QUYỀN CHỨC NĂNG-----------------------------------------------%>
        <div class="accordion" id="monogram-acc">
            <div class="accordion-group panel panel-primary">
                <!-- Default panel contents -->
                <div class="accordion-heading accordion-toggle panel-heading" data-toggle="collapse" data-parent="monogram-acc" href="#Function">
                    Chức năng
                </div>
                <div class="accordion-body in" id="Function" >
                    <div class="panel-body">  
                        <div class="form-horizontal col-md-10 wrapper-center">
                            <div class="form-group">                                   
                                <label class="col-md-6 control-label">Nhóm quyền</label>
                                <div class="col-md-6">
                                    <telerik:RadComboBox ID="cboRole" runat="server" EmptyMessage="---Chọn---" HighlightTemplatedItems="true"
                                        EnableLoadOnDemand="true" Filter="StartsWith" AutoPostBack="True" OnSelectedIndexChanged="cboRole_SelectedIndexChanged">
                                    </telerik:RadComboBox>
                                </div>
                            </div>                      
           
                            <%---------------------------------------------New version-------------------------------------------%>
                            <div class="form-group">  
                                <label class="col-md-6 control-label">Danh sách quyền</label>
                                <div class="col-md-6">
                                    <telerik:RadTreeView ID="rtvRoleFunction" runat="server" CssClass="well col-imp-10"
                                        SelectedItem="{Binding Check, Mode=TwoWay}" OnNodeCheck="rtvRoleFunctionOnNodeCheck">
                                    </telerik:RadTreeView>  
                                </div>        
                            </div>
                        </div>
                    </div>
                </div>
            </div>   
        </div>                  
    </ContentTemplate>
</asp:UpdatePanel>

